# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(flipScrollView)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(FlipScrollView_SRCS flipScrollViewPlugin.cpp)
QT4_WRAP_CPP(FlipScrollView_SRCS flipScrollViewPlugin.h)

add_library(FlipScrollView SHARED ${FlipScrollView_SRCS})
add_dependencies(FlipScrollView KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(FlipScrollView KontAMabil ${QT_LIBRARIES})

install(TARGETS FlipScrollView DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS FlipScrollView ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )
